#include "cvuser.h"

CVUser::CVUser()
{
    this->id = 0;
    this->firstName = "";
    this->lastName = "";
    this->timeCreated = "";
    this->timeUpdated = "";
    this->icon = "";
    this->smallIcon = "";
    this->hideData = "";
    this->bGuest = false;
    this->profile = new CVProfile();
}

void CVUser::setId(int id)
{
    this->id = id;
}

void CVUser::setName(const QString &name)
{
    this->name = name;
}

void CVUser::setFirstName(const QString &firstName)
{
    this->firstName = firstName;
}

void CVUser::setLastName(const QString &lastName)
{
    this->lastName = lastName;
}

void CVUser::setTimeCreated(const QString &timeCreated)
{
    this->timeCreated = timeCreated;
}

void CVUser::setTimeUpdated(const QString &timeUpdated)
{
    this->timeUpdated = timeUpdated;
}

void CVUser::setIcon(const QString &icon)
{
    this->icon = icon;
}

void CVUser::setSmallIcon(const QString &smallIcon)
{
    this->smallIcon = smallIcon;
}

void CVUser::setHideData(const QString &hideData)
{
    this->hideData = hideData;
}

void CVUser::setPassword(const QString &password)
{
    this->password = password;
}

void CVUser::setIsGuset(bool isGuest)
{
    this->bGuest = isGuest;
}

void CVUser::setProfile(CVProfile *profile)
{
    this->profile = profile;
}

int CVUser::getId()
{
    return this->id;
}

QString CVUser::getName()
{
    return this->name;
}

QString CVUser::getFirstName()
{
    return this->firstName;
}

QString CVUser::getLastName()
{
    return this->lastName;
}

QString CVUser::getTimeCreated()
{
    return this->timeCreated;
}

QString CVUser::getTimeUpdated()
{
    return this->timeUpdated;
}

QString CVUser::getIcon()
{
    return this->icon;
}

QString CVUser::getSmallIcon()
{
    return this->smallIcon;
}

QString CVUser::getPassword()
{
    return this->password;
}

bool CVUser::isGuest()
{
    return this->bGuest;
}

CVProfile *CVUser::getProfile()
{
    return profile;
}
